project(Wch)
cmake_minimum_required(VERSION 3.4.1)  # for example
add_library(wch_plugin

        # Sets the library as a shared library.
        SHARED

        #指定C代码目录
        ../ios/Classes/edflib.h
        ../ios/Classes/edflib.c
        ../ios/Classes/edfPage.cpp
        ../ios/Classes/flutterFilter.cpp
        ../ios/Classes/releaseFilter.cpp
        ../ios/Classes/Singleton.cpp
        ../ios/Classes/Singleton.h
        ../ios/Classes/iirNative.cpp
        ../ios/Classes/Iir.h
        ../ios/Classes/lib/Biquad.cpp
        ../ios/Classes/lib/Biquad.h
        ../ios/Classes/lib/Butterworth.cpp
        ../ios/Classes/lib/Butterworth.h
        ../ios/Classes/lib/Cascade.cpp
        ../ios/Classes/lib/Cascade.h
        ../ios/Classes/lib/ChebyshevI.cpp
        ../ios/Classes/lib/ChebyshevI.h
        ../ios/Classes/lib/ChebyshevII.cpp
        ../ios/Classes/lib/ChebyshevII.h
        ../ios/Classes/lib/Common.h
        ../ios/Classes/lib/Custom.h
        ../ios/Classes/lib/Layout.h
        ../ios/Classes/lib/MathSupplement.h
        ../ios/Classes/lib/PoleFilter.cpp
        ../ios/Classes/lib/PoleFilter.h
        ../ios/Classes/lib/RBJ.cpp
        ../ios/Classes/lib/RBJ.h
        ../ios/Classes/lib/State.h
        ../ios/Classes/lib/Types.h
        )